package com.user.pojo.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NonNull;

@Data
@ApiModel(value = "用户接收参数")
public class UserDto {

    @ApiModelProperty(value = "用户名")
    @NonNull
    private String username;

    @ApiModelProperty(value = "密码")
    @NonNull
    private String password;

    @ApiModelProperty(value = "性别 1 男 ，0 女")
    private Integer sex;

    @ApiModelProperty(value = "邀请码")
    private Long inviter;
}
